package com.naiterui.ehp.bp.bo.recommend;

import java.io.Serializable;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.naiterui.ehp.bp.bo.recommend.param.RecomInfoParamBO;

import io.swagger.annotations.ApiModelProperty;

/**
 * 订单推荐信息表
 * @author gongbaoqiang
 * @date 2018/10/19 14:27
 * @since 3.4.0
 */
public class RecomOrderInfoBO implements Serializable {

    private static final long serialVersionUID = 1201588752012358225L;
    /**
     * 订单操作状态：1，已购买；3，少购买；4，已取消；
     */
    public static final int BUY_STATUS_ALL = 1;
    /**
     * 订单操作状态：1，已购买；3，少购买；4，已取消；
     */
    public static final int BUY_STATUS_PART = 3;
    /**
     * 订单操作状态：1，已购买；3，少购买；4，已取消；
     */
    public static final int BUY_STATUS_CANCEL = 4;

    /**
     * 订单操作状态：下单未支付
     */
    public static final int BUY_STATUS_WATI_PAY = 2;
    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id")
    private Long orderId;
    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单号")
    private String orderSN;
    /**
     * 订单操作状态：1，已购买；3，少购买；4，已取消；
     */
    @ApiModelProperty(value = "订单操作状态：1，已购买；3，少购买；4，已取消；")
    private Integer buyStatus;
    /**
     * 推荐信息
     */
    @ApiModelProperty(value = "推荐信息")
    private List<RecomInfoParamBO> recomInfo;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderSN() {
        return orderSN;
    }

    public void setOrderSN(String orderSN) {
        this.orderSN = orderSN;
    }

    public Integer getBuyStatus() {
        return buyStatus;
    }

    public void setBuyStatus(Integer buyStatus) {
        this.buyStatus = buyStatus;
    }

    public List<RecomInfoParamBO> getRecomInfo() {
        return recomInfo;
    }

    public void setRecomInfo(List<RecomInfoParamBO> recomInfo) {
        this.recomInfo = recomInfo;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }

	public RecomOrderInfoBO(Long orderId, String orderSN, Integer buyStatus, List<RecomInfoParamBO> recomInfo) {
		super();
		this.orderId = orderId;
		this.orderSN = orderSN;
		this.buyStatus = buyStatus;
		this.recomInfo = recomInfo;
	}

	public RecomOrderInfoBO() {
		super();
	}
    
    
}
